package com.zt.spring.ioc.lifeCycle;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: MainConfigOfLifeCycle
 * @Description: MainConfigOfLifeCycle
 * @Author: tao.zhang1
 * @Date: 2019/9/27 15:01
 * @Version: V1.0
 **/
@Configuration
@ComponentScan(basePackages = "com.zt.demo.ioc")
public class MainConfigOfLifeCycle {
   /* @Bean(initMethod="init",destroyMethod="detory")
    public Car car(){
        return  new Car();
    }*/
}
